@layout("/backend/common/_container.html"){
<style>
    .dhcc-con .form-group {
        margin-bottom: 0px;
    }

    .event_list {
        list-style: none;
        padding: 0px;
        margin: 0px;
    }

    .event_list li {
        height: 2em;
        line-height: 2em;
        padding-left: 2em;
        cursor: pointer;
    }

    .event_list li:hover {
        background-color: rgb(213, 214, 221);
    }

    .event_list li.active {
        background-color: rgb(213, 214, 221);
    }
</style>
<#Layout>
    <#Layout_Left title="单病种质控配置" width='250px'>
        <div class="dhcc-con dhcc-con-left dhcc-con-boder" style="padding-bottom: 10px;">
            <div class="form-group">
                <label for="QCEntity" class="control-label">单病种</label>
                <select id="QCEntity" style="width:160px;"></select>
            </div>
        </div>
        <div id="QCStage" class="hisui-accordion accordion-gray" style="width:240px;float:left;padding-top: 10px;"
            data-options="border:false">
            <div id="tmp1" title="阶段一(示例)" data-options="iconCls:'icon-alert-red'"
                style="overflow:auto;padding:10px;border: 1px #ccc solid;">
                <code>请在上方选择单病种</code>
            </div>
            <div id="tmp2" title="阶段二(示例)" data-options="iconCls:'icon-alert-red',selected:true"
                style="padding:0px;border: 1px #ccc solid;">
                <code>请在上方选择单病种</code>
            </div>
            <div id="tmp3" title="阶段三(示例)" data-options="iconCls:'icon-alert-red'"
                style="padding:10px;border: 1px #ccc solid;">
                <code>请在上方选择单病种</code>
            </div>
        </div>
    </#Layout_Left>
    <#Layout_Center>
        <#Layout inner="false">
            <#Layout_Center title='事件'>
                <div class="dhcc-con dhcc-con-left dhcc-con-boder" style="padding-bottom: 10px;">
                    <#InputCon id="code" name="代码" />
                    <#InputCon id="description" name="描述" />
                    <input class="hisui-radio" type="radio" label="单一事件" id="single" value="bachelor"
                        data-options="radioClass:'hischeckbox_square-blue',required:false" style="margin-bottom: 0px;">
                    <#InputCon id="expression" name="表达式" />
                    <#InputCon id="comment" name="备注" width="260" />
                    <#SelectCon id="type" name="类型" />
                    <#SelectCon id="property" name="属性" />
                    <#Button id="saveEvent" name="保存" icon="icon-w-save" />
                </div>
                <div class="hidden-xs" id="SdcBaseRuleTableToolbar" role="group">
                    <input class="hisui-radio" type="radio" label="显示全部" id="allRules" value="bachelor"
                        data-options="radioClass:'hischeckbox_square-blue',required:false">
                </div>
                <#Table id="SdcBaseRuleTable" />
            </#Layout_Center>
            <#Layout_Right title='方案' width="420px">
                <#Layout inner="false">
                    <#Layout_Top title='方案' height="250px">
                        <div class="hidden-xs" id="SdcBasePlanTableToolbar" role="group">
                            <#Button name="新增" icon="icon-add" plain="true" clickFun="SdcBasePlan.add()" />
                            <#Button name="修改" icon="icon-write-order" plain="true" clickFun="SdcBasePlan.edit()" />
                            <#Button name="删除" icon="icon-cancel" plain="true" clickFun="SdcBasePlan.del()" />
                        </div>
                        <#Table id="SdcBasePlanTable" />
                    </#Layout_Top>
                    <#Layout_Center title='项目'>
                        <div class="hidden-xs" id="SdcBasePlanItemTableToolbar" role="group">
                            <#Button name="新增" icon="icon-add" plain="true" clickFun="SdcBasePlanItem.add()" />
                            <#Button name="修改" icon="icon-write-order" plain="true" clickFun="SdcBasePlanItem.edit()" />
                            <#Button name="删除" icon="icon-cancel" plain="true" clickFun="SdcBasePlanItem.del()" />
                        </div>
                        <#Table id="SdcBasePlanItemTable" />
                    </#Layout_Center>
                </#Layout>
            </#Layout_Right>
        </#Layout>
    </#Layout_Center>
</#Layout>
<script src="${ctxPath}/static/backend/sdc/sdcbaseboard/board.js"></script>
<script src="${ctxPath}/static/backend/sdc/sdcbaseboard/rule.js"></script>
<script src="${ctxPath}/static/backend/sdc/sdcbaseboard/plan.js"></script>
<script src="${ctxPath}/static/backend/sdc/sdcbaseboard/planitem.js"></script>
@}